<%@ page language="java" contentType="text/html; charset=windows-1255" pageEncoding="windows-1255"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<!-- RichFaces tag library declaration -->
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1255">
<title>Insert title here</title>
</head>
	<body>
			<f:view>
			<%@include file="../inc/menu.inc" %>
            <f:loadBundle basename="il" var="mes"/>
            	<a4j:form>
            		<h:outputText style="font-size:30;color:#680000" value="#{mes.menu_rep_closed}" />
             		    <br>
             		    <br>
			        	<rich:extendedDataTable id="dpa" value="#{closedReportsManagedBean.dpaList}" var="dpa" width="550px" height="400px"  
			        	columnClasses="center"  reRender="ds">
			            	<rich:column sortBy="#{dpa.dpaId}"> 
			                	<f:facet name="header">
			                    	<h:outputText value="#{mes.dpaid }"/>
			                	</f:facet>
				                <h:outputText value="#{dpa.dpaId}"/>
			            	</rich:column> 
			            	<rich:column sortBy="#{dpa.requestDate}" width="110px">
			                	<f:facet name="header">
				                    <h:outputText value="#{mes.date_request }"/>
				                </f:facet>
				                <h:outputText value="#{dpa.requestDate}"/> 
				            </rich:column>
				            <rich:column sortBy="#{dpa.customer.name}" width="110px">
				                <f:facet name="header">
				                    <h:outputText value="#{mes.customer_name}"/>
				                </f:facet>
				              			<h:outputText id="id" value="#{dpa.customer.name}"/>
				            </rich:column>
				            <rich:column sortBy="#{dpa.customer.location}" width="125px" >
				                <f:facet name="header">
				                    <h:outputText value="#{mes.customer_loc}"/>
				                </f:facet>
				              			<h:outputText value="#{dpa.customer.location}"/>
				            </rich:column>
				            <rich:column sortBy="#{dpa.status}" width="110px">
				                <f:facet name="header">
				                    <h:outputText value="#{mes.status}"/>
				                </f:facet>
				              			<h:outputText value="#{dpa.status}"/>
				            </rich:column>
				            <f:facet name="footer">
				                <rich:datascroller id="ds"></rich:datascroller>
				            </f:facet>
				        </rich:extendedDataTable>
				        <br/>
				        <br/>
				        
	                    

				</a4j:form>
			</f:view>
            
        
</body>
</html>